<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网页聊天程序</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/client.css">
</head>
<body>
     <!-- 作为遮罩层,实现背景模糊的效果 -->
     <div class="cover"></div>
     <!-- 整个界面总的容器 -->
     <div class="client-container">
        <!-- 中间的聊天区域 -->
        <div class="main">
            <!-- 左侧区域,显示好友列表和会话列表 -->
            <div class="left">
                <div class="user">
                    白糖
                </div>
                <div class="search">
                    <!-- 搜素中输入输入框 -->
                    <input type="text">
                    <!-- 点击按钮进行搜索 -->
                    <button></button>
                </div>
                <!-- 标签页 -->
                <div class="tab">
                    <!-- 会话列表页 -->
                    <div class="tab-session"></div>
                    <!-- 好友列表标签 -->
                    <div class="tab-friend"></div>
                </div>
                <ul class="list" id ="session-list">
                    
                    <li>
                        <h3>lisi</h3>
                        <p>sorry</p>

                    </li>
                    <li class="selected">
                        <h3>lisi</h3>
                        <p>thank</p>

                    </li>
                </ul>
                <!-- 好友列表 -->
                <ul class ="list hide" id="friend-list">
                    <li> 
                        <h3>lisi</h3> 
                        <p>你好</p>
                         <div class="row"> 
                            <button>接受</button> 
                            <button>拒绝</button>
                         </div>
                    </li>
                    <li> 
                        <h3>lisi</h3> 
                        <p>你好</p>
                         <div class="row"> 
                            <button>接受</button> 
                            <button>拒绝</button>
                         </div>
                    </li>
                    <li>
                        <h4>白糖</h4>
                    </li>
                    <li>
                        <h4>白糖</h4>
                    </li>
                    <li>
                        <h4>白糖</h4>
                    </li>
                    <li>
                        <h4>白糖</h4>
                    </li>
                    
                </ul>
            </div>
            <!-- 右侧区域,显示聊天编辑框 -->
            <div class="right">
                <!-- 会话标题 -->
                <div class="title"></div>
                <!-- 消息区-->
                <div class="message-show">
                    <div class="message">
                        <span friend-id = "1">zhangsan</span>
                        <input type="text">
                        <button>+</button>
                    </div>
                    <div class="message">
                        <span friend-id = 101">zhangsanwu</span>
                        <input type="text">
                        <button>+</button>
                    </div>
                    <!-- 一个消息行
                    <div class="message message-left">
                  
                        <div class="box">
                            <h4>lisi</h4>
                            <p>今天吃啥</p>
                        </div>
                    </div>
             
                     <div class="message message-right">
                     
                        <div class="box">
                            <h4>白糖</h4>
                            <p>小鱼干</p>
                        </div>
                    </div> -->
                    
                </div>
                <!-- 消息编辑框 -->
                <textarea class="message-input"></textarea>
                <!-- 发送按钮 -->
                <div class="ctrl">
                    <button>发送</button>
                </div>
            </div>
        </div>
     </div>
     <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
     <script src="js/client.js"></script>
    
</body>
</html>